﻿<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" x:Class="WindowVariablesTypesRequest"
    Title="Variables types request" Width="400" Background="Black" Foreground="White" BorderThickness="1" WindowStyle="None" ResizeMode="NoResize" SizeToContent="Height" WindowStartupLocation="CenterScreen">
	<Window.Resources>
		<Color x:Key="BlueBrush2">#FF7979FF</Color>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Border>
							<Rectangle Margin="4" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{x:Static Microsoft_Windows_Themes:ClassicBorderDecorator.ClassicBorderBrush}"/>
			<Setter Property="BorderThickness" Value="3"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="0,0,1,1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Microsoft_Windows_Themes:ClassicBorderDecorator x:Name="ContentContainer" BorderThickness="3" BorderStyle="Raised" SnapsToDevicePixels="true">
							<Microsoft_Windows_Themes:ClassicBorderDecorator.Background>
								<SolidColorBrush Color="{DynamicResource BlueBrush2}"/>
							</Microsoft_Windows_Themes:ClassicBorderDecorator.Background>
							<Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
								<SolidColorBrush Color="{DynamicResource BlueBrush2}"/>
							</Microsoft_Windows_Themes:ClassicBorderDecorator.BorderBrush>
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="2"/>
						</Microsoft_Windows_Themes:ClassicBorderDecorator>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</Window.Resources>
	<Window.BorderBrush>
		<SolidColorBrush Color="{DynamicResource BlueBrush2}"/>
	</Window.BorderBrush>
    <Border Margin="0" Background="Black" BorderBrush="White" BorderThickness="2">
		<StackPanel Margin="8">
			<Label Content="Variables types request" Padding="0" Background="{x:Null}" Foreground="White" Margin="8,0" FontFamily="Segoe UI" FontWeight="Bold" FontSize="16"/>
			<Rectangle Height="1" Stroke="White" Margin="0,2,0,0"/>
			<StackPanel x:Name="__VariablesArea" Margin="0,8,0,0"/>
			<Button x:Name="__OkButton" Content="Ok" HorizontalAlignment="Right" Width="94" Margin="0,16,0,0" FontFamily="Segoe UI" Style="{DynamicResource ButtonStyle1}" Foreground="Black" BorderThickness="1" FontWeight="Bold" Cursor="Hand">
				<Button.BorderBrush>
					<SolidColorBrush Color="{DynamicResource BlueBrush2}"/>
				</Button.BorderBrush>
			</Button>
        
		</StackPanel>
	</Border>
</Window>
